package com.ysd.service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@Getter
@Setter
@TableName(value = "area")
public class Area implements Serializable {

    private static final long serialVersionUID = -3347824294190206438L;

    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 城市ID
     */
    private String cityId;
    /**
     * 省份
     */
    private String province;
    /**
     * 城市
     */
    private String city;
    /**
     * 城市简称
     */
    private String path;
    /**
     * 行政归属
     */
    private String administrativeAttribution;
    /**
     * 拼音
     */
    private String spell;

}
